package jp.co.redfox.archclub.utility.datas;

import jp.co.redfox.archclub.poker.GameFile;
import jp.co.redfox.archclub.poker.player.Abator;

public class AbatorData extends AbstractFixedLengthData{

    private static final AbatorData singleton = new AbatorData();
    private static final String FILE_NAME = "avatar.dat";
    private AbatorData() {
        super(5, new int[]{40, 200});
    }
    public static AbatorData getInstance(){
        return singleton;
    }
    

    public Abator load(String id){
        super.loadFixedLengthData(id);
        Abator ret = new Abator(dataContents[0], dataContents[1]);
        return ret;
    }
    @Override
    protected GameFile getDataFile() {
        return new GameFile(FILE_NAME);
    }


}
